<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../00_static/js/vue.js" type="text/javascript"></script>
    <script src="./demo.js" type="text/javascript"></script>
    <title>自定义插件</title>
</head>

<body>
    <div id="app">
        <h2 v-upper-text='name'></h2>
        <h2 v-lower-text='name'></h2>
        <h2>{{$random(2,8)}}</h2>
    </div>

    <script type="text/javascript">
        Vue.use(car)
        console.log(Vue.projectName)
        console.log(Vue.version)
        Vue.showInfo()

        new Vue({
            el: '#app',
            data: {
                name: 'cAr'
            }
        })
    </script>
</body>

</html>